package com.his.j259w264.pojo;

import java.util.Date;
import java.io.Serializable;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * 活动记录(Events)实体类
 *
 * @author EdgeYu
 * @since 2021-09-16 10:15:45
 */

@ApiModel(value = "Events", description = "活动记录")
public class Events implements Serializable {
    private static final long serialVersionUID = -17750150408079741L;
    /**
     * id
     */
    @ApiModelProperty(name = "id", notes = "id", dataType = "Integer", required = true)
    private Integer id;
    /**
     * 活动时间
     */
    @ApiModelProperty(name = "eventsTime", notes = "活动时间", dataType = "Date", required = true)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date eventsTime;
    /**
     * 活动主题
     */
    @ApiModelProperty(name = "eventsTheme", notes = "活动主题", dataType = "String", required = true)
    private String eventsTheme;
    /**
     * 活动人次
     */
    @ApiModelProperty(name = "personTimes", notes = "活动人次", dataType = "Integer", required = true)
    private Integer personTimes;
    /**
     * 活动类型
     */
    @ApiModelProperty(name = "eventsType", notes = "活动类型", dataType = "String", required = true)
    private String eventsType;
    /**
     * 活动地点
     */
    @ApiModelProperty(name = "location", notes = "活动地点", dataType = "String", required = true)
    private String location;
    /**
     * 参加对象
     */
    @ApiModelProperty(name = "entryUser", notes = "参加对象", dataType = "String", required = true)
    private String entryUser;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Date getEventsTime() {
        return eventsTime;
    }

    public void setEventsTime(Date eventsTime) {
        this.eventsTime = eventsTime;
    }

    public String getEventsTheme() {
        return eventsTheme;
    }

    public void setEventsTheme(String eventsTheme) {
        this.eventsTheme = eventsTheme;
    }

    public Integer getPersonTimes() {
        return personTimes;
    }

    public void setPersonTimes(Integer personTimes) {
        this.personTimes = personTimes;
    }

    public String getEventsType() {
        return eventsType;
    }

    public void setEventsType(String eventsType) {
        this.eventsType = eventsType;
    }

    public String getLocation() {
        return location;
    }

    public void setLocation(String location) {
        this.location = location;
    }

    public String getEntryUser() {
        return entryUser;
    }

    public void setEntryUser(String entryUser) {
        this.entryUser = entryUser;
    }

}
